﻿Public Class Sanh
    Dim _id, _soBan As Integer
    Dim _tenSanh, _loaiSanh As String
    Dim _donGiaBan As Double

    Public Property ID() As Integer
        Get
            Return _id
        End Get
        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property
    Public Property Tên_Sảnh() As String
        Get
            Return _tenSanh
        End Get
        Set(ByVal value As String)
            _tenSanh = value
        End Set
    End Property
    Public Property Loại_Sảnh() As String
        Get
            Return _loaiSanh
        End Get
        Set(ByVal value As String)
            _loaiSanh = value
        End Set
    End Property
    Public Property Số_Bàn() As Integer
        Get
            Return _soBan
        End Get
        Set(ByVal value As Integer)
            _soBan = value
        End Set
    End Property
    Public Property Đơn_Giá_Bàn() As Double
        Get
            Return _donGiaBan
        End Get
        Set(ByVal value As Double)
            _donGiaBan = value
        End Set
    End Property

    Public Sub New(ByVal id As Integer, ByVal tenSanh As String, ByVal loaiSanh As String, ByVal soBan As Integer, ByVal donGiaBan As Double)
        _id = id
        _tenSanh = tenSanh
        _loaiSanh = loaiSanh
        _soBan = soBan
        _donGiaBan = donGiaBan
    End Sub

    Public Sub New()
        
    End Sub
End Class
